/* Copyright (c) 2012 Michele Roohani, Frank Harper, Pierre Gros, Pierre LEVY
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.aocfrance.app.model;

/**
 *
 * @author pierre
 */
public class Producteur
{
	private String adresse;
	private String aoc;
	private String commune;
	private int id;
	private String nom;
	private String photo;
	private String presentation;
	private double rating;
	private String resource_uri;


	public Producteur(int id, String nom, String adresse, String presentation, double rating, String photo, String aoc, String commune, String resource_uri) {
		this.adresse = adresse;
		this.aoc = aoc;
		this.commune = commune;
		this.id = id;
		this.nom = nom;
		this.photo = photo;
		this.presentation = presentation;
		this.rating = rating;
		this.resource_uri = resource_uri;
	}
	public Producteur(int id, String nom, String adresse, String presentation, float rating, String photo) {
		this(id, nom, adresse, presentation, rating, photo, null, null, null);
	}
	public String getAdresse() {
		return adresse;
	}
	public void setAdresse(String adresse) {
		this.adresse = adresse;
	}
	public String getAoc() {
		return aoc;
	}
	public void setAoc(String aoc) {
		this.aoc = aoc;
	}
	public String getCommune() {
		return commune;
	}
	public void setCommune(String commune) {
		this.commune = commune;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getPresentation() {
		return presentation;
	}
	public void setPresentation(String presentation) {
		this.presentation = presentation;
	}
	public double getRating() {
		return rating;
	}
	public void setRating(double rating) {
		this.rating = rating;
	}
	public String getResource_uri() {
		return resource_uri;
	}
	public void setResource_uri(String resource_uri) {
		this.resource_uri = resource_uri;
	}
	
	
	
}
